package cn.wolfcode.shop.cloud.key;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;


@ConfigurationProperties(prefix = "redis")
@Setter
@Getter
public class RedisProperties {
    private String host = "localhost";
    private int port = 6379;
    private int timeout= 10;
    private String password;
    private int poolMaxTotal = 500;
    private int poolMaxIdle = 500;
    private int poolMaxWait = 500;


}
